﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Montezuma
{
    class Espinho
    {
        Texture2D textura;
        public Vector2 posicao;
        public Rectangle retangulo;

        public Espinho(Texture2D textura, Vector2 posicao)
        {
            this.textura = textura;
            this.posicao = posicao;
            retangulo = new Rectangle((int)posicao.X, (int)posicao.Y, textura.Width, textura.Height);
        }

        public void Draw(SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(textura, retangulo, Color.White);
        }
    }
}
